#include <iostream>
#define SIZE 100

using namespace std;

double numbers[SIZE];
int n, i;

void read();

int main()
{
	int np = 0, nn = 0, nz = 0;
	
	read();

	for (i = 0; i <= n; ++i)
	{
		if (numbers[i] == 0)
			++nz;
		if (numbers[i] > 0)
			++np;
		if (numbers[i] < 0)
			++nn;
	}
	
	cout << "nn = " << nn;
	cout << "nz = " << nz;
	cout << "np = " << np; 
	return 0;
}

void read()
{
	cout << "n = ";
	cin >> n;
	for (i = 0; i < n; ++i)
	{
		cout << "number[" << i << "]=";
		cin >> numbers[i];
	}


		
}

